﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="hospitalReceiptid.aspx.cs"
    Inherits="Hospital_hospitalReceiptid" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>选择配送企业</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">

    <script language="vbscript" src="../Common/yz.vbs"></script>

</head>
<body>

    <script language="javascript" type="text/javascript">
        function hospitalReceiptid(Receiptid) {

            var obj = new Object;
            obj.Receiptid = Receiptid;
            self.opener.confirmvalue_PS1(obj);




            //		    obj.companyid = CompanyID;
            //		    obj.companyName = CompanyName;
            //		    obj.rownum=RowNum;
            //		    obj.hosplistid=PHOSID;
            //		    self.opener.confirmvalue_PS(obj);
            //		    window.close();


        }
    </script>

    <form id="form1" runat="server">
    <div>
        <br>
        <br>
        <table width="98%" border="0" cellpadding="2" cellspacing="1" id="tabData">
            <tr>
                <td align="right" style="height: 26px">
                    企业名称：
                </td>
                <td style="height: 26px">
                    <asp:TextBox ID="txtAttorneyName" runat="server" Width="197px" InvertedComma="企业名称"></asp:TextBox>
                </td>
                <td align="right" style="height: 26px">
                    企业编码：
                </td>
                <td style="height: 26px">
                    <asp:TextBox ID="txtUserCode" runat="server" InvertedComma="企业编码"></asp:TextBox>
                    <asp:Button ID="Button5" runat="server" Text="" CssClass="button_Query" OnClientClick="javascript:return CheckForm();" />
                </td>
            </tr>
        </table>
        <asp:DataList ID="DlAttorney" runat="server" Width="98%" CssClass='table_table' HeaderStyle-CssClass='table_title'>
            <ItemStyle CssClass="table_td" />
            <AlternatingItemStyle CssClass="table_td2" />
            <HeaderTemplate>
                <table width="98%">
                    <tr>
                        <td align="center" width="20%">
                            发票号
                        </td>
                        <td align="center" width="35%">
                            企业名称
                        </td>
                        <td align="center" width="30%">
                            企业编码
                        </td>
                        <td align="center" width="32%">
                            选 择
                        </td>
                    </tr>
                </table>
            </HeaderTemplate>
            <ItemTemplate>
                <table width="98%">
                    <tr>
                        <td width="20%" align="center">
                            <%# DataBinder.Eval(Container.DataItem, "Receiptid")%>
                        </td>
                        <td width="35%" align="center">
                            <%# DataBinder.Eval(Container.DataItem, "CompanyName_PS")%>
                        </td>
                        <td width="30%" align="center">
                            <%# DataBinder.Eval(Container.DataItem, "UserCode_PS")%>
                        </td>
                        <td width="32%" align="center">
                            <a href="javascript:hospitalReceiptid('<%# DataBinder.Eval(Container.DataItem, "Receiptid")%>')">
                                选择发票号 </a>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>
        <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
    </div>
    </form>
</body>
</html>
